import instance from '@/utils/request';
//显示
export function getParkingRecordData(data) {
    return instance.request({
        url:"/api/ParkingRecord/GetParkingRecord",
        method: "get",
        data
    })
}

//添加
export function addParkingRecordData(data) {
    return instance.request({
        url:"/api/ParkingRecord/PostAddParkingRecord",
        method: "post",
        data
    })
}
//删除
export function deleteParkingRecordData(data) {
    return instance.request({
        url:"/api/ParkingRecord/DeleteParkingRecord",
        method: "delete",
        data
    })
}
//修改
export function updateParkingRecordData(data) {
    return instance.request({
        url:"/api/ParkingRecord/PutUpdateParkingRecord",
        method: "put",
        data
    })
}

//批量删除
export function deleteParkingRecordDatas(data) {
    return instance.request({
        url:"/api/ParkingRecord/ParkingRecordsDeleteDatas?ids=",
        method: "post",
        data
    })
}